package com.jhws.business.card.service;

import java.util.List;
import java.util.Map;

import com.jhws.business.card.bo.CardDoorDevice;
import com.jhws.business.card.bo.TblCardDimBo;
import com.jhws.business.card.bo.TblCardPerms;
import com.jhws.common.Page;

public interface ITblCardDimService {
	public abstract TblCardDimBo findTblCardDimById(String CardCode);
	
	public abstract Map<String, Object> findCardList(Map param);
	
	public List<TblCardPerms> findCardPerms(String cardNo);

	public TblCardDimBo findCardInfo(String cardNo);
	
	public abstract List<TblCardDimBo> findTblCardDimByWhere(String whereClause) throws Exception;

	public abstract void save(TblCardDimBo perm);
	public abstract void save(TblCardPerms perm);
    public abstract void save(CardDoorDevice device);

	public abstract void removeCardPerms(String CardCode);
	public abstract void removeCard(String CardCode);
	public void removeCardDevice(Long id);
	public abstract List<TblCardPerms> findTblCardsWithTimestamp(String account, Long timeStamp,Boolean IDMode);

    public List<CardDoorDevice> findCardDoorDevsByWhere(String where);
    public List<String> findCardDoorDevsBindings(String devNumber);
	public void updateExpireStateByNow() throws Exception;

}
